<!--
 * @Description: 
 * @Author: QinTianyu
 * @Date: 2020-05-07 09:32:07
 * @LastEditors: QinTianyu
 * @LastEditTime: 2020-05-07 09:46:04
 -->
<style type="text/css">
    .layui-form-select dl{z-index:9999;}
</style>
<form class="layui-form" action="{:url()}" method="post" id="editForm">

    <div class="layui-form-item">
        <label class="layui-form-label">级别名称</label>
        <div class="layui-input-inline w200">
            <input type="text" class="layui-input field-name" name="name" lay-verify="required" autocomplete="off" placeholder="请填写级别名称">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" class="field-id" name="id">
            <button type="submit" class="layui-btn layui-btn-normal" hisi-data="{pop: true, refresh: true}" lay-submit="" lay-filter="formSubmit">提交</button>
            <a href="javascript:parent.layui.layer.closeAll();" class="layui-btn layui-btn-primary ml10">取消</a>
        </div>
    </div>
</form>
{include file="system@block/layui" /}
<script>
layui.use(['func'], function() {
    // 编辑模式下表单自动赋值
    layui.func.assign({:json_encode($formData)});
});
</script>
